#include "systemc.h"
#include "ff_define.h"

SC_MODULE(top_tb) {
    sc_in <bool> clk;
    sc_in <sc_uint<SIZE>> data_out;
    sc_out <bool> reset;
    sc_out <sc_uint<SIZE>> data;

    void test();
    void check();

    SC_CTOR(top_tb) {
        SC_THREAD(test);
        sensitive << clk.pos();
        SC_METHOD(check);
        // sensitive << date_out;
        sensitive << clk.pos();
    }
};